﻿// -----------------------------------------------------------------------
// <copyright file="MainController.cs" company="EPAM Systems">
////Copyright (c) EPAM Systems, 2012. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------

namespace MBOP.Website.Controllers
{
	#region Usings

	using System.Web.Mvc;

	#endregion

	/// <summary>
	/// Provides methods that respond to HTTP request that are made to main part of the application.
	/// </summary>
	public class MainController : Controller
	{
		/// <summary>
		/// Processes main page request.
		/// </summary>
		/// <returns>The view result, which encapsulates information of the result processing.</returns>
		public ActionResult Index()
		{
			return RedirectToRoute(new { controller = "Library", action = "List"});
		}
	}
}
